<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2019/11/4
  Time: 18:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>学生选课系统</title>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <style type="text/css">
        *{
            margin:0;
            padding:0;
        }
        .div{
            margin-top:30px;
            width:100%;
            font-size:20px;
            text-align:center;
        }
        .title{
            width: 100%;
            height: 50px;
            line-height: 80px;
            text-align: center;
            font-size: 30px;
            font-family: kaiti;
        }
    </style>
</head>
<body>
<div style="width:705px;height: 700px; margin: 0 auto">
    <div class="title">
        <b>学生教学计划</b>
    </div>
    <div>
        <a>${student.stu_name}</a>
            <div class="div">
                <table class="table table-striped">
                    <thead style="background-color: #87CEFA;opacity: 0.9">
                        <tr>
                            <th>课程号(class_no)</th>
                            <th>课程名(class_name)</th>
                            <th>学分(credit)</th>
                        </tr>
                    </thead>
                    <tbody>
                        <p>小班教学计划上</p>
                        <c:forEach var="data" items="${minListUp}" >
                            <tr>
                                <td>${data.course_no}</td>
                                <td>${data.course_name}</td>
                                <td>${data.course_score}</td>
                            </tr>
                        </c:forEach>
                    </tbody>
                </table>
                <br>

                <table class="table table-striped">
                    <thead style="background-color: #87CEFA;opacity: 0.9">
                    <tr>
                        <th>课程号(class_no)</th>
                        <th>课程名(class_name)</th>
                        <th>学分(credit)</th>
                    </tr>
                    </thead>
                    <tbody>
                    <p>小班教学计划下</p>
                    <c:forEach var="data" items="${minListDown}" >
                        <tr>
                            <td>${data.course_no}</td>
                            <td>${data.course_name}</td>
                            <td>${data.course_score}</td>
                        </tr>
                    </c:forEach>
                    </tbody>
                </table>
                <br>

                <table class="table table-striped">
                    <thead style="background-color: #87CEFA;opacity: 0.9">
                    <tr>
                        <th>课程号(class_no)</th>
                        <th>课程名(class_name)</th>
                        <th>学分(credit)</th>
                    </tr>
                    </thead>
                    <tbody>
                    <p>中班教学计划上</p>
                    <c:forEach var="data" items="${midListUp}" >
                        <tr>
                            <td>${data.course_no}</td>
                            <td>${data.course_name}</td>
                            <td>${data.course_score}</td>
                        </tr>
                    </c:forEach>
                    </tbody>
                </table>
                <br>

                <table class="table table-striped">
                    <thead style="background-color: #87CEFA;opacity: 0.9">
                    <tr>
                        <th>课程号(class_no)</th>
                        <th>课程名(class_name)</th>
                        <th>学分(credit)</th>
                    </tr>
                    </thead>
                    <tbody>
                    <p>中班教学计划下</p>
                    <c:forEach var="data" items="${midListDown}" >
                        <tr>
                            <td>${data.course_no}</td>
                            <td>${data.course_name}</td>
                            <td>${data.course_score}</td>
                        </tr>
                    </c:forEach>
                    </tbody>
                </table>
                <br>

                <table class="table table-striped">
                    <thead style="background-color: #87CEFA;opacity: 0.9">
                    <tr>
                        <th>课程号(class_no)</th>
                        <th>课程名(class_name)</th>
                        <th>学分(credit)</th>
                    </tr>
                    </thead>
                    <tbody>
                    <p>大班教学计划上</p>
                    <c:forEach var="data" items="${maxListUp}" >
                        <tr>
                            <td>${data.course_no}</td>
                            <td>${data.course_name}</td>
                            <td>${data.course_score}</td>
                        </tr>
                    </c:forEach>
                    </tbody>
                </table>
                <br>

                <table class="table table-striped">
                    <thead style="background-color: #87CEFA;opacity: 0.9">
                    <tr>
                        <th>课程号(class_no)</th>
                        <th>课程名(class_name)</th>
                        <th>学分(credit)</th>
                    </tr>
                    </thead>
                    <tbody>
                    <p>大班教学计划下</p>
                    <c:forEach var="data" items="${maxListDown}" >
                        <tr>
                            <td>${data.course_no}</td>
                            <td>${data.course_name}</td>
                            <td>${data.course_score}</td>
                        </tr>
                    </c:forEach>
                    </tbody>
                </table>
                <br>

            </div>
    </div>
</div>
</body>
</html>

